LoadAsync(StorageFile,ContainerFormat,Nullable<ImageRect>,BaseTransform[]) Method
Loads the image from a StorageFile.
public System.Threading.Tasks.Task LoadAsync(
Windows.Storage.StorageFile ,
ContainerFormat ,
System.Nullable<ImageRect> ,
params BaseTransform[]
)
'Declaration
Public Overloads Function LoadAsync( _
ByVal As Windows.Storage.StorageFile, _
ByVal As ContainerFormat, _
ByVal As System.Nullable(Of ImageRect), _
ByVal ParamArray () As BaseTransform _
) As System.Threading.Tasks.Task
Parameters
- storageFile
- The input StorageFile.
- containerFormat
- The image container format; use Unknown to detect the format automatically.
- imageRect
- Clipping rectangle for the image after all transformations.
- transforms
- The transformation chain for the image that is being loaded.